package com.zhentao.api.article;

import com.zhentao.model.article.dto.ArticleDto;
import com.zhentao.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value  ="leadnews-article")
public interface ArticleClientApi {
    @PostMapping("/api/v1/article/save")
    public ResponseResult saveArticle(@RequestBody ArticleDto dto);
}
